package com.jzo2o.api.customer;

import com.jzo2o.api.customer.dto.response.AddressBookResDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * 内部接口 - 地址簿相关接口
 *
 * @Author katana
 * @Date 2025/7/6 10:56
 */
@FeignClient(contextId = "jzo2o-customer", value = "jzo2o-customer", path = "/customer/inner/address-book")
public interface AddressBookApi {
    
    @GetMapping("/{id}")
    AddressBookResDTO findById(@PathVariable("id") Long id);
    
}
